home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / models / human / german_elite_sentry.tik < prev    next >
Encoding:
Text File  |  2002-10-21  |  1.8 KB  |  80 lines

  1. TIKI
  2. setup
  3. {
  4.     scale 0.52                    // Set default scale to 16/30.5 since world is in 16 units per foot and model is in cm's
  5.  
  6.     path models/human/german_wehrmact_soldier
  7.     skelmodel heerprivate.skd
  8.  
  9.     surface wehrmact_pants shader Sentry_pants
  10.     surface wehrmact_tunic shader Sentry_tunic
  11.     surface wehrmact_tunic_c shader Sentry_tunic_c
  12.  
  13.     $include models/human/heads/german_young_heads.tik
  14.  
  15.     path models/human/hands
  16.     skelmodel hand.skd
  17.     surface hand shader handsnew
  18.  
  19.  
  20.     //*** regular KAR 98
  21.     case weapon "Mauser KAR 98K"
  22.     {
  23.  
  24.  
  25.     path models/gear/g_headgear
  26.  
  27.     skelmodel germanhelmet.skd
  28.     surface outside shader Sentry_helmet
  29.     surface inside shader german-helmet_inside
  30.  
  31.  
  32.     path models/gear/heer
  33.         
  34.     
  35.     skelmodel karclips.skd
  36.     surface karclips shader german_riflebelt
  37.  
  38.     
  39.     }
  40.     
  41.  
  42.     
  43.  
  44.     scale 0.52                // Set default scale to 16/30.5 since world is
  45.                         // in 16 units per foot and model is in cm's
  46.     path models/human/protoanimations    // Set path to set animations from
  47.  
  48.     radius 20                // Defines size of shadow
  49. }
  50.  
  51. init
  52. {
  53.     server
  54.     {
  55.           classname Actor
  56.         setsize "-16 -16 0" "16 16 92"
  57.         german
  58.         health 100
  59.         weapon "Mauser KAR 98K"
  60.  
  61.         // Make him mumble but not breathe steam
  62.         exec global/breathe.scr 0 1
  63.  
  64.         // Set up the helmet for popping off
  65.         // <surface to turn off> <model to spawn> <speed to throw it at> <damage multiplier for helmet shots>
  66.         sethelmet "models/gear/german_sentryhelmet.tik" 150 0.1 "outside" "inside" 
  67.     }
  68. }
  69.  
  70. //
  71. // include the base animations definition
  72. //
  73.  
  74. $include models/human/new_generic_human.tik
  75. $include models/human/animation/dialogue/generic_dialogue_german.tik
  76. //$include models/human/animation/helmet_flyoff/helmet_flyoff_german_wehrmact.tik
  77.  
  78. /*QUAKED ai_german_elite_sentry (1.0 0.5 0.0) (-16 -16 0) (16 16 92)
  79. */
  80.